package com.example.midprojcampusspringboot.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_manager_activity")
public class TManagerActivity {

  @TableId(type = IdType.AUTO)
  private long id;
  private String name;
  private String category;
  private String title;
  private String creator;
  private String abstracts;
  private String detailedDesc;
  private long status;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createdTime;
  private String archivedTime; // 归档时间
  private String picUrls;
  private String startTime; // 活动开始时间
  private String endTime; // 活动结束时间

}
